package com.mt.roll.wms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mt.roll.core.dal.entity.EquipmentAttr;
import com.mt.roll.wms.params.EquipmentAttrQueryParam;
import com.mt.roll.wms.vo.EquipmentAttrVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @auther yanyang
 * @date 2022/1/13 16:40
 */

@Repository
public interface EquipmentAttrVoMapper extends BaseMapper<EquipmentAttr> {

    IPage<EquipmentAttrVo> attr(Page<Object> objectPage, @Param("param") EquipmentAttrQueryParam equipmentAttrQueryParam);
    EquipmentAttrVo attrById(Long id);

}
